package com.twu.biblioteca;


import java.util.Date;

/**
 * Created by abhishekpuri on 10/5/14.
 */

public class Book {

    private String _Name;
    private String _AuthorName;
    private Date _PublishingDate;

    public Book(String name, String authorName, Date pubDate) {
        _Name=name;
        _AuthorName=authorName;
        _PublishingDate=pubDate;
    }

    public String getSummary() {
        return _Name + "\t\t" + _AuthorName + "\t\t" +_PublishingDate;
    }

    public String getName() {
        return _Name;
    }

}
